#include "Cbook.h"

Cbook::Cbook(): name("noname"), state(true){}

Cbook::Cbook(const Cbook& pt): name(pt.name), state(pt.state){}

Cbook::Cbook(std::string pt): name(pt), state(true){}

Cbook::Cbook(std::string pt, bool sta): name(pt), state(sta){}

void Cbook::init(std::string new_name, bool new_state)
{
	name = new_name;
	state = new_state;
	return ;
}

std::string Cbook::get_name()const { return name; }

bool Cbook::get_state()const { return state; }
